package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.pojo.Permission;

import java.util.List;

public interface PermissionService {

    PageResult findPage(Integer currentPage, Integer pageSize, String queryString);

    void add(Permission permission);

    void delete(Integer id);

    Permission findById(Integer id);

    void update(Permission permission);
}
